[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
OUTSW Output Word String (186/286/386) Flags: O D I T S Z A P C
OUTSW
Logic: destination port . WORD PTR ES:DI
if DF = 0 then
DI . DI + 2
else
DI . DI - 2
This instruction sends words from a string to a port. The source string
is pointed to by ES:DI. The input port number must be in DX. If the
direction flag is set, DI is decremented by 2. If it is not set, DI is
incremented by 2.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
OUTSW 14 (386) - 1 OUTSW
--------------------------------------------------------------------------
Note: This instruction is usually used with a REP
prefix. Load CX with the number of times to repeat
the instruction.
See Also:
OUTS
OUTSW
OUTSD
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson